//
//  GWMyNavController.m
//  网易新闻
//
//  Created by qianfeng on 16/2/28.
//  Copyright (c) 2016年 高炜. All rights reserved.
//

#import "GWMyNavController.h"
#import "GWMyNavigationBar.h"
@interface GWMyNavController ()

@end

@implementation GWMyNavController
+(void)initialize
{
    UINavigationBar *navBar =[UINavigationBar appearance];
    [navBar setBackgroundImage:[UIImage imageNamed:@"top_navigation_background"] forBarMetrics:UIBarMetricsDefault];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setValue:[[GWMyNavigationBar alloc]init] forKey:@"navigationBar"];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
